package com.heart.sell.service;

import com.heart.sell.dto.OrderDTO;
import com.lly835.bestpay.model.PayResponse;
import com.lly835.bestpay.model.RefundResponse;

public interface PayService {

    /**
     * 支付
     *
     * @param orderDTO
     * @return
     */
    PayResponse create(OrderDTO orderDTO);

    /**
     * 回调
     *
     * @param notify
     */
    PayResponse notify(String notify);

    /**
     * 退款
     *
     * @param orderDTO
     */
    RefundResponse refund(OrderDTO orderDTO);
}
